package com.lsf.studentmanagerup.bean;

import java.io.Serializable;

/**
 * @author 李树飞
 */
public class Student implements Serializable {
    //id
    private int id;
    //姓名
    private String name;
    //性别
    private String gender;
    //生日
    private String birthday;
    //邮箱
    private String email;
    //备注
    private String comment;
    //所属班级
    private int cid;

    public Student(int id, String name, String gender, String birthday, String email, String comment) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.birthday = birthday;
        this.email = email;
        this.comment = comment;
    }

    public Student(String name, String gender, String birthday, String email, String comment) {
        this.name = name;
        this.gender = gender;
        this.birthday = birthday;
        this.email = email;
        this.comment = comment;
    }

    public Student() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", birthday='" + birthday + '\'' +
                ", email='" + email + '\'' +
                ", comment='" + comment + '\'' +
                ", cid=" + cid +
                '}';
    }
}
